import axios from "axios";

const apiUrl = process.env.NEXT_PUBLIC_API_URL;

const axiosInstance = axios.create({
    baseURL: apiUrl, // 替换为你的 Spring Boot 后端地址
    headers: {
        "Content-Type": "application/json",
    },
});

export default axiosInstance;
